Integrand size = 27, antiderivative size = 135 \[ \int \csc ^3(c+d x) \sec ^5(c+d x) (a+b \sin (c+d x)) \, dx=\frac {15 b \text {arctanh}(\sin (c+d x))}{8 d}-\frac {a \cot ^2(c+d x)}{2 d}-\frac {15 b \csc (c+d x)}{8 d}+\frac {3 a \log (\tan (c+d x))}{d}+\frac {5 b \csc (c+d x) \sec ^2(c+d x)}{8 d}+\frac {b \csc (c+d x) \sec ^4(c+d x)}{4 d}+\frac {3 a \tan ^2(c+d x)}{2 d}+\frac {a \tan ^4(c+d x)}{4 d} \]
15/8*b*arctanh(sin(d*x+c))/d-1/2*a*cot(d*x+c)^2/d-15/8*b*csc(d*x+c)/d+3*a* ln(tan(d*x+c))/d+5/8*b*csc(d*x+c)*sec(d*x+c)^2/d+1/4*b*csc(d*x+c)*sec(d*x+ c)^4/d+3/2*a*tan(d*x+c)^2/d+1/4*a*tan(d*x+c)^4/d
Result contains higher order function than in optimal. Order 5 vs. order 3 in optimal.
Time = 0.02 (sec) , antiderivative size = 100, normalized size of antiderivative = 0.74 \[ \int \csc ^3(c+d x) \sec ^5(c+d x) (a+b \sin (c+d x)) \, dx=-\frac {a \csc ^2(c+d x)}{2 d}-\frac {b \csc (c+d x) \operatorname {Hypergeometric2F1}\left (-\frac {1}{2},3,\frac {1}{2},\sin ^2(c+d x)\right )}{d}-\frac {3 a \log (\cos (c+d x))}{d}+\frac {3 a \log (\sin (c+d x))}{d}+\frac {a \sec ^2(c+d x)}{d}+\frac {a \sec ^4(c+d x)}{4 d} \]
-1/2*(a*Csc[c + d*x]^2)/d - (b*Csc[c + d*x]*Hypergeometric2F1[-1/2, 3, 1/2 , Sin[c + d*x]^2])/d - (3*a*Log[Cos[c + d*x]])/d + (3*a*Log[Sin[c + d*x]]) /d + (a*Sec[c + d*x]^2)/d + (a*Sec[c + d*x]^4)/(4*d)
Time = 0.47 (sec) , antiderivative size = 135, normalized size of antiderivative = 1.00, number of steps used = 14, number of rules used = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.481, Rules used = {3042, 3313, 3042, 3100, 243, 49, 2009, 3101, 25, 252, 252, 262, 219}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \csc ^3(c+d x) \sec ^5(c+d x) (a+b \sin (c+d x)) \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int \frac {a+b \sin (c+d x)}{\sin (c+d x)^3 \cos (c+d x)^5}dx\) |
\(\Big \downarrow \) 3313 |
\(\displaystyle a \int \csc ^3(c+d x) \sec ^5(c+d x)dx+b \int \csc ^2(c+d x) \sec ^5(c+d x)dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle a \int \csc (c+d x)^3 \sec (c+d x)^5dx+b \int \csc (c+d x)^2 \sec (c+d x)^5dx\) |
\(\Big \downarrow \) 3100 |
\(\displaystyle \frac {a \int \cot ^3(c+d x) \left (\tan ^2(c+d x)+1\right )^3d\tan (c+d x)}{d}+b \int \csc (c+d x)^2 \sec (c+d x)^5dx\) |
\(\Big \downarrow \) 243 |
\(\displaystyle \frac {a \int \cot ^2(c+d x) \left (\tan ^2(c+d x)+1\right )^3d\tan ^2(c+d x)}{2 d}+b \int \csc (c+d x)^2 \sec (c+d x)^5dx\) |
\(\Big \downarrow \) 49 |
\(\displaystyle \frac {a \int \left (\cot ^2(c+d x)+3 \cot (c+d x)+\tan ^2(c+d x)+3\right )d\tan ^2(c+d x)}{2 d}+b \int \csc (c+d x)^2 \sec (c+d x)^5dx\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle b \int \csc (c+d x)^2 \sec (c+d x)^5dx+\frac {a \left (\frac {1}{2} \tan ^4(c+d x)+3 \tan ^2(c+d x)-\cot (c+d x)+3 \log \left (\tan ^2(c+d x)\right )\right )}{2 d}\) |
\(\Big \downarrow \) 3101 |
\(\displaystyle \frac {a \left (\frac {1}{2} \tan ^4(c+d x)+3 \tan ^2(c+d x)-\cot (c+d x)+3 \log \left (\tan ^2(c+d x)\right )\right )}{2 d}-\frac {b \int -\frac {\csc ^6(c+d x)}{\left (1-\csc ^2(c+d x)\right )^3}d\csc (c+d x)}{d}\) |
\(\Big \downarrow \) 25 |
\(\displaystyle \frac {b \int \frac {\csc ^6(c+d x)}{\left (1-\csc ^2(c+d x)\right )^3}d\csc (c+d x)}{d}+\frac {a \left (\frac {1}{2} \tan ^4(c+d x)+3 \tan ^2(c+d x)-\cot (c+d x)+3 \log \left (\tan ^2(c+d x)\right )\right )}{2 d}\) |
\(\Big \downarrow \) 252 |
\(\displaystyle \frac {a \left (\frac {1}{2} \tan ^4(c+d x)+3 \tan ^2(c+d x)-\cot (c+d x)+3 \log \left (\tan ^2(c+d x)\right )\right )}{2 d}-\frac {b \left (\frac {5}{4} \int \frac {\csc ^4(c+d x)}{\left (1-\csc ^2(c+d x)\right )^2}d\csc (c+d x)-\frac {\csc ^5(c+d x)}{4 \left (1-\csc ^2(c+d x)\right )^2}\right )}{d}\) |
\(\Big \downarrow \) 252 |
\(\displaystyle \frac {a \left (\frac {1}{2} \tan ^4(c+d x)+3 \tan ^2(c+d x)-\cot (c+d x)+3 \log \left (\tan ^2(c+d x)\right )\right )}{2 d}-\frac {b \left (\frac {5}{4} \left (\frac {\csc ^3(c+d x)}{2 \left (1-\csc ^2(c+d x)\right )}-\frac {3}{2} \int \frac {\csc ^2(c+d x)}{1-\csc ^2(c+d x)}d\csc (c+d x)\right )-\frac {\csc ^5(c+d x)}{4 \left (1-\csc ^2(c+d x)\right )^2}\right )}{d}\) |
\(\Big \downarrow \) 262 |
\(\displaystyle \frac {a \left (\frac {1}{2} \tan ^4(c+d x)+3 \tan ^2(c+d x)-\cot (c+d x)+3 \log \left (\tan ^2(c+d x)\right )\right )}{2 d}-\frac {b \left (\frac {5}{4} \left (\frac {\csc ^3(c+d x)}{2 \left (1-\csc ^2(c+d x)\right )}-\frac {3}{2} \left (\int \frac {1}{1-\csc ^2(c+d x)}d\csc (c+d x)-\csc (c+d x)\right )\right )-\frac {\csc ^5(c+d x)}{4 \left (1-\csc ^2(c+d x)\right )^2}\right )}{d}\) |
\(\Big \downarrow \) 219 |
\(\displaystyle \frac {a \left (\frac {1}{2} \tan ^4(c+d x)+3 \tan ^2(c+d x)-\cot (c+d x)+3 \log \left (\tan ^2(c+d x)\right )\right )}{2 d}-\frac {b \left (\frac {5}{4} \left (\frac {\csc ^3(c+d x)}{2 \left (1-\csc ^2(c+d x)\right )}-\frac {3}{2} (\text {arctanh}(\csc (c+d x))-\csc (c+d x))\right )-\frac {\csc ^5(c+d x)}{4 \left (1-\csc ^2(c+d x)\right )^2}\right )}{d}\) |
-((b*(-1/4*Csc[c + d*x]^5/(1 - Csc[c + d*x]^2)^2 + (5*((-3*(ArcTanh[Csc[c + d*x]] - Csc[c + d*x]))/2 + Csc[c + d*x]^3/(2*(1 - Csc[c + d*x]^2))))/4)) /d) + (a*(-Cot[c + d*x] + 3*Log[Tan[c + d*x]^2] + 3*Tan[c + d*x]^2 + Tan[c + d*x]^4/2))/(2*d)
3.15.90.3.1 Defintions of rubi rules used
Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int [ExpandIntegrand[(a + b*x)^m*(c + d*x)^n, x], x] /; FreeQ[{a, b, c, d}, x] && IGtQ[m, 0] && IGtQ[m + n + 2, 0]
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[-b, 2]))* ArcTanh[Rt[-b, 2]*(x/Rt[a, 2])], x] /; FreeQ[{a, b}, x] && NegQ[a/b] && (Gt Q[a, 0] || LtQ[b, 0])
Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^2)^(p_), x_Symbol] :> Simp[1/2 Subst[In t[x^((m - 1)/2)*(a + b*x)^p, x], x, x^2], x] /; FreeQ[{a, b, m, p}, x] && I ntegerQ[(m - 1)/2]
Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^2)^(p_), x_Symbol] :> Simp[c*(c*x )^(m - 1)*((a + b*x^2)^(p + 1)/(2*b*(p + 1))), x] - Simp[c^2*((m - 1)/(2*b* (p + 1))) Int[(c*x)^(m - 2)*(a + b*x^2)^(p + 1), x], x] /; FreeQ[{a, b, c }, x] && LtQ[p, -1] && GtQ[m, 1] && !ILtQ[(m + 2*p + 3)/2, 0] && IntBinomi alQ[a, b, c, 2, m, p, x]
Int[((c_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^2)^(p_), x_Symbol] :> Simp[c*(c*x) ^(m - 1)*((a + b*x^2)^(p + 1)/(b*(m + 2*p + 1))), x] - Simp[a*c^2*((m - 1)/ (b*(m + 2*p + 1))) Int[(c*x)^(m - 2)*(a + b*x^2)^p, x], x] /; FreeQ[{a, b , c, p}, x] && GtQ[m, 2 - 1] && NeQ[m + 2*p + 1, 0] && IntBinomialQ[a, b, c , 2, m, p, x]
Int[csc[(e_.) + (f_.)*(x_)]^(m_.)*sec[(e_.) + (f_.)*(x_)]^(n_.), x_Symbol] :> Simp[1/f Subst[Int[(1 + x^2)^((m + n)/2 - 1)/x^m, x], x, Tan[e + f*x]] , x] /; FreeQ[{e, f}, x] && IntegersQ[m, n, (m + n)/2]
Int[(csc[(e_.) + (f_.)*(x_)]*(a_.))^(m_)*sec[(e_.) + (f_.)*(x_)]^(n_.), x_S ymbol] :> Simp[-(f*a^n)^(-1) Subst[Int[x^(m + n - 1)/(-1 + x^2/a^2)^((n + 1)/2), x], x, a*Csc[e + f*x]], x] /; FreeQ[{a, e, f, m}, x] && IntegerQ[(n + 1)/2] && !(IntegerQ[(m + 1)/2] && LtQ[0, m, n])
Int[cos[(e_.) + (f_.)*(x_)]^(p_)*((d_.)*sin[(e_.) + (f_.)*(x_)])^(n_.)*((a_ ) + (b_.)*sin[(e_.) + (f_.)*(x_)]), x_Symbol] :> Simp[a Int[Cos[e + f*x]^ p*(d*Sin[e + f*x])^n, x], x] + Simp[b/d Int[Cos[e + f*x]^p*(d*Sin[e + f*x ])^(n + 1), x], x] /; FreeQ[{a, b, d, e, f, n, p}, x] && IntegerQ[(p - 1)/2 ] && IntegerQ[n] && ((LtQ[p, 0] && NeQ[a^2 - b^2, 0]) || LtQ[0, n, p - 1] | | LtQ[p + 1, -n, 2*p + 1])
Time = 0.97 (sec) , antiderivative size = 129, normalized size of antiderivative = 0.96
method | result | size |
derivativedivides | \(\frac {a \left (\frac {1}{4 \sin \left (d x +c \right )^{2} \cos \left (d x +c \right )^{4}}+\frac {3}{4 \sin \left (d x +c \right )^{2} \cos \left (d x +c \right )^{2}}-\frac {3}{2 \sin \left (d x +c \right )^{2}}+3 \ln \left (\tan \left (d x +c \right )\right )\right )+b \left (\frac {1}{4 \sin \left (d x +c \right ) \cos \left (d x +c \right )^{4}}+\frac {5}{8 \sin \left (d x +c \right ) \cos \left (d x +c \right )^{2}}-\frac {15}{8 \sin \left (d x +c \right )}+\frac {15 \ln \left (\sec \left (d x +c \right )+\tan \left (d x +c \right )\right )}{8}\right )}{d}\) | \(129\) |
default | \(\frac {a \left (\frac {1}{4 \sin \left (d x +c \right )^{2} \cos \left (d x +c \right )^{4}}+\frac {3}{4 \sin \left (d x +c \right )^{2} \cos \left (d x +c \right )^{2}}-\frac {3}{2 \sin \left (d x +c \right )^{2}}+3 \ln \left (\tan \left (d x +c \right )\right )\right )+b \left (\frac {1}{4 \sin \left (d x +c \right ) \cos \left (d x +c \right )^{4}}+\frac {5}{8 \sin \left (d x +c \right ) \cos \left (d x +c \right )^{2}}-\frac {15}{8 \sin \left (d x +c \right )}+\frac {15 \ln \left (\sec \left (d x +c \right )+\tan \left (d x +c \right )\right )}{8}\right )}{d}\) | \(129\) |
parallelrisch | \(\frac {-12 \left (a +\frac {5 b}{8}\right ) \left (\frac {3}{4}+\frac {\cos \left (4 d x +4 c \right )}{4}+\cos \left (2 d x +2 c \right )\right ) \ln \left (\tan \left (\frac {d x}{2}+\frac {c}{2}\right )-1\right )-12 \left (\frac {3}{4}+\frac {\cos \left (4 d x +4 c \right )}{4}+\cos \left (2 d x +2 c \right )\right ) \left (a -\frac {5 b}{8}\right ) \ln \left (\tan \left (\frac {d x}{2}+\frac {c}{2}\right )+1\right )+12 \left (\frac {3}{4}+\frac {\cos \left (4 d x +4 c \right )}{4}+\cos \left (2 d x +2 c \right )\right ) a \ln \left (\tan \left (\frac {d x}{2}+\frac {c}{2}\right )\right )-\frac {27 \left (a \sec \left (\frac {d x}{2}+\frac {c}{2}\right ) \left (\cos \left (2 d x +2 c \right )+\frac {2 \cos \left (4 d x +4 c \right )}{9}-\frac {\cos \left (6 d x +6 c \right )}{9}+\frac {2}{27}\right ) \csc \left (\frac {d x}{2}+\frac {c}{2}\right )+\frac {80 b \left (\cos \left (2 d x +2 c \right )+\frac {3 \cos \left (4 d x +4 c \right )}{8}+\frac {9}{40}\right )}{27}\right ) \sec \left (\frac {d x}{2}+\frac {c}{2}\right ) \csc \left (\frac {d x}{2}+\frac {c}{2}\right )}{32}}{d \left (\cos \left (4 d x +4 c \right )+4 \cos \left (2 d x +2 c \right )+3\right )}\) | \(247\) |
risch | \(-\frac {i \left (24 i a \,{\mathrm e}^{10 i \left (d x +c \right )}+15 b \,{\mathrm e}^{11 i \left (d x +c \right )}+48 i a \,{\mathrm e}^{8 i \left (d x +c \right )}+25 b \,{\mathrm e}^{9 i \left (d x +c \right )}-16 i a \,{\mathrm e}^{6 i \left (d x +c \right )}-22 b \,{\mathrm e}^{7 i \left (d x +c \right )}+48 i a \,{\mathrm e}^{4 i \left (d x +c \right )}+22 b \,{\mathrm e}^{5 i \left (d x +c \right )}+24 i a \,{\mathrm e}^{2 i \left (d x +c \right )}-25 b \,{\mathrm e}^{3 i \left (d x +c \right )}-15 b \,{\mathrm e}^{i \left (d x +c \right )}\right )}{4 d \left ({\mathrm e}^{2 i \left (d x +c \right )}-1\right )^{2} \left ({\mathrm e}^{2 i \left (d x +c \right )}+1\right )^{4}}-\frac {3 a \ln \left ({\mathrm e}^{i \left (d x +c \right )}+i\right )}{d}+\frac {15 \ln \left ({\mathrm e}^{i \left (d x +c \right )}+i\right ) b}{8 d}-\frac {3 a \ln \left ({\mathrm e}^{i \left (d x +c \right )}-i\right )}{d}-\frac {15 \ln \left ({\mathrm e}^{i \left (d x +c \right )}-i\right ) b}{8 d}+\frac {3 a \ln \left ({\mathrm e}^{2 i \left (d x +c \right )}-1\right )}{d}\) | \(266\) |
norman | \(\frac {-\frac {a}{8 d}-\frac {a \left (\tan ^{14}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{8 d}-\frac {b \tan \left (\frac {d x}{2}+\frac {c}{2}\right )}{2 d}+\frac {13 b \left (\tan ^{3}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{4 d}+\frac {5 b \left (\tan ^{5}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{2 d}-\frac {5 b \left (\tan ^{7}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{2 d}+\frac {5 b \left (\tan ^{9}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{2 d}+\frac {13 b \left (\tan ^{11}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{4 d}-\frac {b \left (\tan ^{13}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{2 d}-\frac {21 a \left (\tan ^{6}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{8 d}-\frac {21 a \left (\tan ^{8}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{8 d}+\frac {27 a \left (\tan ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{4 d}+\frac {27 a \left (\tan ^{10}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{4 d}}{\tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{2} \left (\tan ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )-1\right )^{4} \left (1+\tan ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}+\frac {3 a \ln \left (\tan \left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{d}-\frac {3 \left (8 a -5 b \right ) \ln \left (\tan \left (\frac {d x}{2}+\frac {c}{2}\right )+1\right )}{8 d}-\frac {3 \left (8 a +5 b \right ) \ln \left (\tan \left (\frac {d x}{2}+\frac {c}{2}\right )-1\right )}{8 d}\) | \(317\) |
1/d*(a*(1/4/sin(d*x+c)^2/cos(d*x+c)^4+3/4/sin(d*x+c)^2/cos(d*x+c)^2-3/2/si n(d*x+c)^2+3*ln(tan(d*x+c)))+b*(1/4/sin(d*x+c)/cos(d*x+c)^4+5/8/sin(d*x+c) /cos(d*x+c)^2-15/8/sin(d*x+c)+15/8*ln(sec(d*x+c)+tan(d*x+c))))
Time = 0.32 (sec) , antiderivative size = 211, normalized size of antiderivative = 1.56 \[ \int \csc ^3(c+d x) \sec ^5(c+d x) (a+b \sin (c+d x)) \, dx=\frac {24 \, a \cos \left (d x + c\right )^{4} - 12 \, a \cos \left (d x + c\right )^{2} + 48 \, {\left (a \cos \left (d x + c\right )^{6} - a \cos \left (d x + c\right )^{4}\right )} \log \left (\frac {1}{2} \, \sin \left (d x + c\right )\right ) - 3 \, {\left ({\left (8 \, a - 5 \, b\right )} \cos \left (d x + c\right )^{6} - {\left (8 \, a - 5 \, b\right )} \cos \left (d x + c\right )^{4}\right )} \log \left (\sin \left (d x + c\right ) + 1\right ) - 3 \, {\left ({\left (8 \, a + 5 \, b\right )} \cos \left (d x + c\right )^{6} - {\left (8 \, a + 5 \, b\right )} \cos \left (d x + c\right )^{4}\right )} \log \left (-\sin \left (d x + c\right ) + 1\right ) + 2 \, {\left (15 \, b \cos \left (d x + c\right )^{4} - 5 \, b \cos \left (d x + c\right )^{2} - 2 \, b\right )} \sin \left (d x + c\right ) - 4 \, a}{16 \, {\left (d \cos \left (d x + c\right )^{6} - d \cos \left (d x + c\right )^{4}\right )}} \]
1/16*(24*a*cos(d*x + c)^4 - 12*a*cos(d*x + c)^2 + 48*(a*cos(d*x + c)^6 - a *cos(d*x + c)^4)*log(1/2*sin(d*x + c)) - 3*((8*a - 5*b)*cos(d*x + c)^6 - ( 8*a - 5*b)*cos(d*x + c)^4)*log(sin(d*x + c) + 1) - 3*((8*a + 5*b)*cos(d*x + c)^6 - (8*a + 5*b)*cos(d*x + c)^4)*log(-sin(d*x + c) + 1) + 2*(15*b*cos( d*x + c)^4 - 5*b*cos(d*x + c)^2 - 2*b)*sin(d*x + c) - 4*a)/(d*cos(d*x + c) ^6 - d*cos(d*x + c)^4)
Timed out. \[ \int \csc ^3(c+d x) \sec ^5(c+d x) (a+b \sin (c+d x)) \, dx=\text {Timed out} \]
Time = 0.21 (sec) , antiderivative size = 140, normalized size of antiderivative = 1.04 \[ \int \csc ^3(c+d x) \sec ^5(c+d x) (a+b \sin (c+d x)) \, dx=-\frac {3 \, {\left (8 \, a - 5 \, b\right )} \log \left (\sin \left (d x + c\right ) + 1\right ) + 3 \, {\left (8 \, a + 5 \, b\right )} \log \left (\sin \left (d x + c\right ) - 1\right ) - 48 \, a \log \left (\sin \left (d x + c\right )\right ) + \frac {2 \, {\left (15 \, b \sin \left (d x + c\right )^{5} + 12 \, a \sin \left (d x + c\right )^{4} - 25 \, b \sin \left (d x + c\right )^{3} - 18 \, a \sin \left (d x + c\right )^{2} + 8 \, b \sin \left (d x + c\right ) + 4 \, a\right )}}{\sin \left (d x + c\right )^{6} - 2 \, \sin \left (d x + c\right )^{4} + \sin \left (d x + c\right )^{2}}}{16 \, d} \]
-1/16*(3*(8*a - 5*b)*log(sin(d*x + c) + 1) + 3*(8*a + 5*b)*log(sin(d*x + c ) - 1) - 48*a*log(sin(d*x + c)) + 2*(15*b*sin(d*x + c)^5 + 12*a*sin(d*x + c)^4 - 25*b*sin(d*x + c)^3 - 18*a*sin(d*x + c)^2 + 8*b*sin(d*x + c) + 4*a) /(sin(d*x + c)^6 - 2*sin(d*x + c)^4 + sin(d*x + c)^2))/d
Time = 0.39 (sec) , antiderivative size = 133, normalized size of antiderivative = 0.99 \[ \int \csc ^3(c+d x) \sec ^5(c+d x) (a+b \sin (c+d x)) \, dx=-\frac {3 \, {\left (8 \, a - 5 \, b\right )} \log \left ({\left | \sin \left (d x + c\right ) + 1 \right |}\right ) + 3 \, {\left (8 \, a + 5 \, b\right )} \log \left ({\left | \sin \left (d x + c\right ) - 1 \right |}\right ) - 48 \, a \log \left ({\left | \sin \left (d x + c\right ) \right |}\right ) + \frac {2 \, {\left (15 \, b \sin \left (d x + c\right )^{5} + 12 \, a \sin \left (d x + c\right )^{4} - 25 \, b \sin \left (d x + c\right )^{3} - 18 \, a \sin \left (d x + c\right )^{2} + 8 \, b \sin \left (d x + c\right ) + 4 \, a\right )}}{{\left (\sin \left (d x + c\right )^{3} - \sin \left (d x + c\right )\right )}^{2}}}{16 \, d} \]
-1/16*(3*(8*a - 5*b)*log(abs(sin(d*x + c) + 1)) + 3*(8*a + 5*b)*log(abs(si n(d*x + c) - 1)) - 48*a*log(abs(sin(d*x + c))) + 2*(15*b*sin(d*x + c)^5 + 12*a*sin(d*x + c)^4 - 25*b*sin(d*x + c)^3 - 18*a*sin(d*x + c)^2 + 8*b*sin( d*x + c) + 4*a)/(sin(d*x + c)^3 - sin(d*x + c))^2)/d
Time = 11.29 (sec) , antiderivative size = 146, normalized size of antiderivative = 1.08 \[ \int \csc ^3(c+d x) \sec ^5(c+d x) (a+b \sin (c+d x)) \, dx=\frac {3\,a\,\ln \left (\sin \left (c+d\,x\right )\right )}{d}-\frac {\ln \left (\sin \left (c+d\,x\right )+1\right )\,\left (\frac {3\,a}{2}-\frac {15\,b}{16}\right )}{d}-\frac {\frac {15\,b\,{\sin \left (c+d\,x\right )}^5}{8}+\frac {3\,a\,{\sin \left (c+d\,x\right )}^4}{2}-\frac {25\,b\,{\sin \left (c+d\,x\right )}^3}{8}-\frac {9\,a\,{\sin \left (c+d\,x\right )}^2}{4}+b\,\sin \left (c+d\,x\right )+\frac {a}{2}}{d\,\left ({\sin \left (c+d\,x\right )}^6-2\,{\sin \left (c+d\,x\right )}^4+{\sin \left (c+d\,x\right )}^2\right )}-\frac {\ln \left (\sin \left (c+d\,x\right )-1\right )\,\left (\frac {3\,a}{2}+\frac {15\,b}{16}\right )}{d} \]
(3*a*log(sin(c + d*x)))/d - (log(sin(c + d*x) + 1)*((3*a)/2 - (15*b)/16))/ d - (a/2 + b*sin(c + d*x) - (9*a*sin(c + d*x)^2)/4 + (3*a*sin(c + d*x)^4)/ 2 - (25*b*sin(c + d*x)^3)/8 + (15*b*sin(c + d*x)^5)/8)/(d*(sin(c + d*x)^2 - 2*sin(c + d*x)^4 + sin(c + d*x)^6)) - (log(sin(c + d*x) - 1)*((3*a)/2 + (15*b)/16))/d